<include file="default/public/header_common" />
<style>
.pro-list .am-list-item-hd {
    font-size: 1.8rem;
    font-weight: normal;
    margin-bottom: 1.2rem;
}
.pro-list .pro-del {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    color: #999999;
    font-size: 1.6rem;
}
.pro-list img {
    display: block;
	width:80px;
    padding: 1px;
    border: 1px solid #dddddd;
}
</style>
<div id="mx-tabs" class="am-tabs am-tabs-d2 ml-0 mr-0">
  <ul class="am-tabs-nav am-cf">
    <li class="<if condition="$type == 'goods'">am-active</if>"><a href="{:U('Wap/Users/followList/type/goods')}">收藏的商品</a></li>
    <li class="<if condition="$type == 'shop'">am-active</if>"><a href="{:U('Wap/Users/followList/type/shop')}">收藏的店铺</a></li>
  </ul>
  <div class="am-tabs-bd">
    <div data-tab-panel-0 class="am-tab-panel am-active" style="padding-left: 0;padding-right: 0;">
      <ul class="am-list pro-list">
      	<volist name="list['list']" id="vo">
        <li class="am-g">
          <div class="am-u-sm-3 am-list-thumb">
            <a href="{:U('Wap/shopsIndex/newGoodsList/shopId/' . $vo['shopId'])}" class=""><img src="/{$vo.shopImg}" class="am-fr am-circle" width="80px" height="80px" /></a>
          </div>
          <div class="am-u-sm-9 am-list-main"  style="margin-top:20px;">
            <h3 class="am-list-item-hd"><a href="{:U('Wap/shopsIndex/newGoodsList/shopId/' . $vo['shopId'])}" class="c-333">{$vo.shopName}</a></h3>
            <div class="pro-del"><i class="am-icon-trash"></i> 删除</div>
          </div>
        </li>
        </volist>
      </ul>
    </div>
  </div>
  <ul data-am-widget="pagination" class="am-pagination am-pagination-select">
      <if condition="$list['current'] != 1">
        <li class="am-pagination-prev "> <a href="{:U('Wap/Users/followList/type/' . $type . '/page/' . ($list['current']-1))}">上一页</a> </li>
      </if>
      <li class="am-pagination-select">
        <select>
          <option class="">{$list['current']} / {$list['sumpage']} </option>
        </select>
      </li>
      <if condition="$list['current'] != $list['sumpage']">
        <li class="am-pagination-next "> <a href="{:U('Wap/Users/followList/type/' . $type . '/page/' . ($list['current']+1))}">下一页</a> </li>
      </if>
    </ul>
</div>

<script src="__ROOT__/Apps/Wap/View/default/assets/js/jquery.min.js"></script>
<script src="__ROOT__/Apps/Wap/View/default/assets/js/amazeui.min.js"></script>

</body>
</html>